package myspring.event;

import org.springframework.context.ApplicationEvent;

/**
 * <pre>
 *   Title: EmailEvnet.java
 *   Description: 
 *   Copyright: yundaex.com Copyright (c) 2013
 *   Company: 上海韵达货运有限公司
 * </pre>
 * 
 * @author liuzhaoqing
 * @version 1.0
 * @date 2014年10月28日
 */
public class EmailEvent extends ApplicationEvent {

	private static final long serialVersionUID = 1L;
	private String address;
	private String text;
	
	public EmailEvent(Object source) {
		super(source);
	}

	public EmailEvent(Object source, String address, String text) {
		super(source);
		this.address = address;
		this.text = text;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
	

}
